package com.ffapp.rainmonitorcustom.bean;
import com.alibaba.fastjson.annotation.JSONField;
import java.util.ArrayList;

public class WaitTaskListData extends BaseListBeanBc {


    @JSONField(name = "list")
    private ArrayList<WaitTaskBean> list = new ArrayList<WaitTaskBean>();

    public ArrayList<WaitTaskBean> getList() {
        return list;
    }

    public void setList(ArrayList<WaitTaskBean> list) {
        this.list = list;
    }

    public void addListBean(WaitTaskListData listbean) {
        if (listbean == null)
            return;
        if (this.getCurrentPage() == INIT_PAGE) {
            setList(listbean.getList());
        } else {
            if (list == null)
                list = new ArrayList<WaitTaskBean>();
            list.addAll(listbean.getList());
        }
        setListBeanData(listbean);
    }

}
